package cn.gson.springboot.model.mapper;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

import cn.gson.springboot.model.pojos.Section;

@Mapper
public interface SectionMapper {
	//查询所有或科室id查询
	public List<Section> selectAllsection(@Param("sectionId")Integer  sectionId,@Param("sectiontype")String sectiontype);
	
	public JSONArray selectAllsectionjson(@Param("sectionId")Integer  sectionId);
	
	public void addsection(@Param("section_name")String section_name,
												 @Param("section_price")BigDecimal section_price,
												 @Param("section_type")String 	section_type);

	//用于新增床位
	public JSONArray selectSectionAll();
}
